//
//  DGNewViewController.m
//  tabBarItem的弹出效果
//
//  Created by yidong on 16/10/9.
//  Copyright © 2016年 东哥. All rights reserved.
//

#import "DGNewViewController.h"

@interface DGNewViewController ()

@end

@implementation DGNewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"选择界面";
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"返回" style:UIBarButtonItemStyleDone target:self action:@selector(back)];
}

- (void)back {
    [self dismissViewControllerAnimated:YES completion:nil];
}
@end
